.topic-wrap {
  .topic-header {
    display: flex;

    .topic-header-left {
      min-width: 48px;
      min-height: 48px;

      // .avatar {
      //   min-width: 48px;
      //   min-height: 48px;
      //   width: 48px;
      //   height: 48px;
      // }
    }

    .topic-header-center {
      width: 100%;
      margin-left: 8px;

      .topic-title {
        color: #555;
        font-size: 14px;
        font-weight: bold;
        overflow: hidden;
        word-break: break-all;
        -webkit-line-clamp: 1;
        text-overflow: ellipsis;
        -webkit-box-orient: vertical;
        display: -webkit-box;
      }

      .topic-meta {
        position: relative;
        font-size: 12px;
        line-height: 24px;
        color: #70727c;
        margin-top: 3px;

        span.meta-item {
          font-size: 12px;

          &:not(:last-child) {
            margin-right: 8px;
          }

          &.act {
            float: right;
            margin-right: 5px;

            :hover {
              font-weight: 700;
            }

            a {
              font-size: 12px;
              color: #3273dc;

              i {
                // margin-right: 3px;
                font-size: 12px;
                color: #000;
              }
            }
          }

          .tag {
            height: auto !important;

            &:not(:last-child) {
              margin-right: 3px;
            }
          }

          .node {
            font-weight: bold;
            color: #3273dcde;
            // color: #e7672e;
          }
        }

        a {
          color: #778087;
        }
      }
    }

    .topic-header-right {
      min-width: 100px;
      max-width: 100px;
      text-align: right;
      padding-right: 8px;

      .like {
        font-size: 12px;

        .like-btn {
          transition: all 0.5s;
          cursor: pointer;

          background-color: rgba(126, 107, 1, 0.08);
          color: #e7672e;
          // padding: 0;
          // display: inline-block;
          // height: 20px;
          // width: 20px;
          // line-height: 20px;
          // border-radius: 10px;
          // text-align: center;
          padding: 4px;
          border-radius: 50%;

          &:hover,
          &.liked {
            color: #fff;
            background-color: #e7672e;
          }
        }

        .like-count {
          font-weight: bold;
          color: #e7672e;

          &::before {
            content: " x ";
          }
        }
      }

      .count {
        font-size: 12px;
        color: #fff;

        background: #aab0c6;
        padding: 2px 10px;
        border-radius: 6px;
        font-weight: 700;
      }
    }
  }

  .topic-summary a {
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    color: #000;

    margin-top: 5px;
    overflow: hidden;
    word-break: break-all;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
  }

  .topic-content {
    font-size: 15px;
  }
}

.topic-detail {
  .topic-header {
    padding: 10px;
    border-bottom: 1px solid #eee;
    // margin: 0 -10px 10px -10px;
    // background: #fafafa;
  }
}

.topic-list {
  margin: 0 0 10px 0 !important;

  li {
    padding: 8px 0 8px 8px;
    position: relative;
    overflow: hidden;
    transition: background 0.5s;

    // border-bottom: 1px solid #f0f0f0;
    // border-radius: 4px;
    &:hover {
      background: #f3f6f9;
    }

    &:not(:last-child) {
      border-bottom: 1px solid #f2f2f2;
    }
  }
}
